<?php
/**
 * Created by PhpStorm.
 * User: ytl003
 * Date: 2018/7/25
 * Time: 上午11:08
 */

namespace app\api\validate;


class ImageValidate extends BaseValidate
{
    protected $rule = [
        'image' => 'require|image|fileSize:20480000',
    ];

    protected $message = [
        'image' => '允许上传文件为图片且不大于20M'
    ];
}